<link href="<?php echo CSS_URL;?>/daterange/datepicker.css" media="screen" rel="stylesheet" type="text/css" />
<link href="<?php echo CSS_URL;?>/daterange/layout.css" media="screen" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo JS_URL;?>/daterange/datepicker.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_URL;?>/daterange/eye.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_URL;?>/daterange/utils.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_URL;?>/daterange/layout.js?ver=1.0.3"></script>

<!-- InstanceBeginEditable name="Content col left" -->
<div id="cate_search" class="w670 left">
    <div class="content_cate">
        <div class="block_search">
            <div class="title_block_search box_width_common">
                <div class="left w220">
                    <?php
                    if(!empty($this->arrCategory))
                    {
                    ?>

                    <div class="chose_search_item">
                        <div class="chose_item"><?php echo $this->strCateNameCurrent;?></div>
                        <div class="search_item" style="display: none;">
                            <div class="content_search_item">
                                <div class="top_item"><b>Thể thao</b></div>
                                <div class="list_item_search">
                                    <ul>
                                        <?php
                                        $totalCate = ceil(count($this->arrCategory) /2 );
                                        $i = 0;
                                        foreach($this->arrCategory as $dataCategory)
                                        {
                                            if($i == $totalCate)
                                            {
                                                echo '</ul><ul>';
                                            }
                                            if($dataCategory['category_id'] != CATE_ID_EURO)
                                            {
                                        ?>
                                            <li>
                                                <a href="<?php if($this->intCateCurrent != $dataCategory['category_id']) {echo $this->Moreviewurl($dataCategory,0,'news');}else {echo '#';}?>" class="txt_black_hover_blue"><?php echo $dataCategory['catename'];?></a>
                                                
                                                <?php 
                                                //get sub
                                                if(!empty($dataCategory['child']) && is_array($dataCategory['child']) && $dataCategory['cate_type'] == 1 )
                                                {
                                                    foreach($dataCategory['child'] as $childID => $childDetail)
                                                    {
                                                        ?> 
                                                        <br/>&nbsp;&nbsp;&nbsp;<a href="<?php if($this->intCateCurrent != $childDetail['category_id']) {echo $this->Moreviewurl($childDetail,0,'news');}else {echo '#';}?>" class="txt_black_hover_blue"><?php echo $childDetail['catename'];?></a>
                                                        <?php
                                                    }
                                                }
                                                ?>
                                            </li>
                                        <?php
                                            }//end if
                                            $i++;
                                        }//end foreach
                                        ?>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php
                    }
                    ?>
                </div>
                <div class="right">
                    <div class="right chose_time">
                        <input type="hidden" name="Location" id="Location" value="<?php echo SITE_URL.$this->location;?>">
                        <!--<span class="left txt_gray">Chọn ngày tháng</span>
                        <div class="titme left"><a href="#" class="icon_portal_thethao icon_calenda left"></a></div>-->
                        <div id="widget">
                            <div id="widgetField">

                                <input type="hidden" name="DateFilter" id="DateFilter">
                                <span class="right txt_gray">Chọn ngày tháng &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                <a href="#" class="icon_portal_thethao icon_calenda left"></a>
                            </div>
                            <div id="widgetCalendar">
                            </div>
                        </div>
                    </div>
                </div>

            </div>

            <div class="block_search_result box_width_common">
                <ul>
                <?php
                $arrData = $this->arrDataNews;
                if(!empty($arrData))
                {
                    $intI = 1;
                    foreach($arrData as $data)
                    {
                        $class = '';
                        if($intI==LIMIT_NEW_MORE)
                        {
                            $class = 'class="end"';
                        }
                        $intI++;

                ?>
                    <li <?php echo $class;?>>
                        <div class="news_images">
                            <a href="<?php echo $this->articleurl($data);?>" title="<?php echo $data['title'];?>" alt="<?php echo $data['title'];?>">
                                <!--<img src="<?php echo IMAGE_URL;?>/graphics/img_123x93.jpg" alt="" />-->
                                <img src="<?php echo $this->imageurl($data['thumbnail_url'], $this->imageSize['size3']);?>" alt="" width="123" height="93" title="<?php echo $data['title'];?>" alt="<?php echo $data['title'];?>"/>
                            </a>
                            <p>

                                <a href="<?php echo $this->articleurl($data);?>" class="txt_black_hover_blue"><b><?php echo $data['title'];?></b></a>
                            </p>
                            <p class="txt_gray txt_11">
                                <?php echo $this->DateTimeFormat($data['publish_time'], 'custom');?>&nbsp;|&nbsp;Lượt xem:&nbsp;<?php echo $this->Articleview($data);?>&nbsp;|&nbsp;<span class="icon_portal_thethao icon_commend">&nbsp;</span>&nbsp;<?php echo $this->Articlecomment($data); ?>
                                <!--<span class="icon_portal_thethao icon_commend">&nbsp;</span> 32-->
                            </p>
                            <p><?php echo $data['lead'];?></p>

                        </div>
                    </li>

                <?php
                    }
                }
                ?>
                </ul>
            </div>
            <div class="more_bottom_detal box_width_common">
                <div class="left"><a href="javascript:;" class="txt_gray" id="back-top"><span class="icon_portal_thethao icon_scrolltop">&nbsp;</span> Về đầu trang</a></div>
                <div class="txt_view_more">
                    <!--<a class="txt_gray" href="#">Xem thêm</a> <span class="icon_portal_thethao icon_view_more">&nbsp;</span>-->
                    <style>

                    </style>
                    <?php
                        echo $this->Pagination($this->arrParamPaging, LIMIT_NEW_MORE);
                    ?>

                </div>
            </div>
            <div class="clear">&nbsp;</div>
        </div>
    </div>
</div>
<script language="javascript" type="text/javascript" src="<?php echo $this->config['comment']; ?>/js/pv.widget.js"></script>
<!-- InstanceEndEditable -->
